package cn.com.yto56.coresystem.logic.msg.soa.dao;

import cn.com.yto56.coresystem.common.msg.util.db.IPage;
import cn.com.yto56.coresystem.common.msg.util.db.QueryPage;
import cn.com.yto56.coresystem.logic.msg.soa.domain.MsgListBean;

import java.util.Map;

/**
 * Created by wangrui on 2017/2/15.
 */
public interface IMsgListDao {

    //add delete update search
    public IPage<MsgListBean> search(MsgListBean msgListBean, QueryPage queryPage);

    public boolean searchForUpdate(MsgListBean msgListBean);

    public int delete(MsgListBean msgListBean);

    public int update(MsgListBean set, MsgListBean where);

    public int add(MsgListBean msgListBean);

    public int addForGroup(Map map);
}
